import request from '@/util/request'
import store from '@/vuex/store'

// 查询新闻数据
export function getConstructionListApi(list) {
    const value = {
        pageSize: list.pageSize,
        currentPage: list.currentPage,
        appKey: '',
        appFlag: 2,
        token: store.getters.token,
        versionCode: 0,
        param: JSON.stringify(list)
    }
    return request({
        url: 'construct/getConstructionList.do',
        method: 'post',
        data: value
    })
}